﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using LowLevelGraphics.Filter;

namespace ImageRecognition2.Action
{
    /// <summary>
    /// AbstractFilterCommand is used for derived commands.
    /// </summary>
    public abstract class AbstractFilterCommand : AbstractCommand
    {
        protected IFilter m_Filter = null;

        /// <summary>
        /// 
        /// </summary>
        public AbstractFilterCommand()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="_filter"></param>
        public AbstractFilterCommand(IFilter _filter)
        {
            m_Filter = _filter;
        }

        /*public abstract IFilter Run(object sender, EventArgs e)
        {
        }*/

        public IFilter Filter
        {
            get { return m_Filter; }
            set { m_Filter = value; }
        }
    }
}
